package com.jinghong.epidemiccontrolproject.service;

import com.jinghong.epidemiccontrolproject.pojo.PageBean;
import com.jinghong.epidemiccontrolproject.pojo.Patient;

import java.time.LocalDate;
import java.util.List;

/**
 * ClassName:PatientService
 * Package:com.jinghong.epidemiccontrolproject.service
 * Description:
 *
 * @Author: 寻月君子
 * @CreatTime:2024/1/19 22:50
 * Version:1.0
 */
public interface PatientService {
    PageBean page(Integer page, Integer pageSize, String name, Short gender, Integer age1, Integer age2, Integer regionId, LocalDate begin, LocalDate end, Short status);

    void delete(List<Integer> ids);

    void save(Patient patient);

    Patient getById(Integer id);

    void update(Patient patient);

    void deleteById(Integer id);
}
